package com.wry.sharding.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 *<h1>  <h1>
 *
 * @author wry
 * @since 2025/1/3 10:06
 */
@Data
@TableName(value = "order_info")
public class OrderInfo implements Serializable {
    /**
     * 订单详情号
     */
    @TableId(value = "order_info_id", type = IdType.INPUT)
    private Long orderInfoId;

    /**
     * 订单号
     */
    @TableField(value = "order_id")
    private Long orderId;

    /**
     * 商品名称
     */
    @TableField(value = "shoping_name")
    private String shopingName;

    /**
     * 商品价格
     */
    @TableField(value = "shoping_price")
    private Integer shopingPrice;

    private static final long serialVersionUID = 1L;
}